import java.time.ZonedDateTime;

/**
 * @Classname TimeZonetest
 * @Description
 * @Date 2021/10/22 19:12
 * @Create by 杨涛
 */
public class TimeZonetest
{
    public static void main(String[] args) {
        ZonedDateTime zonedDateTime=ZonedDateTime.now();
        System.out.println(zonedDateTime);
        //2021-10-22T19:13:22.639+08:00[Asia/Shanghai]
    }
}
